package com.zhuoyue.system.service.impl;

import com.zhuoyue.common.annotation.DataScope;
import com.zhuoyue.system.domain.po.SceneBindingPo;
import com.zhuoyue.system.domain.vo.SceneBindingVo;
import com.zhuoyue.system.mapper.TblSceneBindingMapper;
import com.zhuoyue.system.service.ITblSceneBindingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhanghui
 * @date 2021/9/26 9:52
 */
@Service
public class TblSceneBindingServiceImpl implements ITblSceneBindingService {
    @Autowired
    private TblSceneBindingMapper sceneBindingMapper;

    @DataScope(deptAlias = "s_d")
    @Override
    public List<SceneBindingVo> listSceneBinding(SceneBindingPo sceneBindingPo) {
        return sceneBindingMapper.listSceneBinding(sceneBindingPo);
    }
}
